package cn.com.bsoft.cloud.entity.cloud;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class AppMessageRsp {
    private String messageID;
    private String title;
    private String contentType;
    private String messageBody;
    private String extra;
    private int readStatus;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createDate;
    private String action;

    public String getMessageID() {
        return messageID;
    }

    public void setMessageID(String messageID) {
        this.messageID = messageID;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContentType() {
        return contentType;
    }

    public void setContentType(String contentType) {
        this.contentType = contentType;
    }

    public String getMessageBody() {
        return messageBody;
    }

    public void setMessageBody(String messageBody) {
        this.messageBody = messageBody;
    }

    public String getExtra() {
        return extra;
    }

    public void setExtra(String extra) {
        this.extra = extra;
    }

    public int getReadStatus() {
        return readStatus;
    }

    public void setReadStatus(int readStatus) {
        this.readStatus = readStatus;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    @Override
    public String toString() {
        return "AppMessageRsp{" +
                "messageID='" + messageID + '\'' +
                ", title='" + title + '\'' +
                ", contentType='" + contentType + '\'' +
                ", messageBody='" + messageBody + '\'' +
                ", extra='" + extra + '\'' +
                ", readStatus=" + readStatus +
                ", createDate=" + createDate +
                ", action='" + action + '\'' +
                '}';
    }
}
